//
//  APDefaultPhotoUIConfiguration.swift
//  APSwift
//
//  Created by jianbo.pei on 2023/8/4.
//

import Foundation

open class APDefaultPhotoUIConfiguration {
    /// 瀑布流排序方式
    public enum SortType {
        case latestAtTop
        case latestAtBottom
    }
    
    public private(set) var `default` = APDefaultPhotoUIConfiguration()
    
    /// 图片列数，default is `3`
    public var columnCount: UInt = 3
    
    /// 瀑布流排序方式，default is `.latestAtTop`
    public var sortType: APDefaultPhotoUIConfiguration.SortType = .latestAtTop
    
    /// 最多可选图片数量，default `9`
    public var maxSelectCount: UInt = 9
    
    /// 最少可选图片数量，default `1`
    public var minSelectCount: UInt = 1
    
    /// 是否支持预览，default `true`
    public var canPreview: Bool = true
    
    /// 是否可以选择视频，default `true`
    public var canSelectVideo: Bool = true
    
    /// 是否可以选择图片，default `true`
    public var canSelectImage: Bool = true
    
}
